/**
 * Created by liguangsong on 16/8/12.
 */

module.exports = {
    entry: './app/index.js',
    output: {
        path: '',
        filename: 'bundle.js'
    },
    module: {
        loaders: [

            {
                test: /\.css$/,
                loaders: ['style', 'css']
            },
            {
                test: /\.js$/,
                loader: 'babel-loader?presets[]=es2015&presets[]=react'
            }

        ]
    }
};